package
{
	import cmodule.stringecho.CLibInit;
	import flash.display.Sprite;
	
	public class AlchemyDemo extends Sprite
	{
		private var test:CLibInit = new cmodule.stringecho.CLibInit;  //新建立一个类
		private var lib:Object = test.init(); 
		
		public function AlchemyDemo()
		{  
			for(var i:int = 0; i < 100; i++)
			{
				//调用C语言导出的函数
				trace(lib.echo1("1212312"));   
			}
		}
	}
}